package com.ruoyi.system.domain.waterEnity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 订单信息
 */
public class OrderEntity {
    private String id;
    private  Integer user_id;
    private  String user_name;
    private String building;
    private String receiving_address;
    private String receiving_phone;
    private Integer total_amount;
    private Integer pay_state;
    private Integer state;
    private  Integer userDelete;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private  Date create_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date pay_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private  Date update_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date complete_time;

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getReceiving_address() {
        return receiving_address;
    }

    public void setReceiving_address(String receiving_address) {
        this.receiving_address = receiving_address;
    }

    public String getReceiving_phone() {
        return receiving_phone;
    }

    public void setReceiving_phone(String receiving_phone) {
        this.receiving_phone = receiving_phone;
    }

    public Integer getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(Integer total_amount) {
        this.total_amount = total_amount;
    }

    public Integer getPay_state() {
        return pay_state;
    }

    public void setPay_state(Integer pay_state) {
        this.pay_state = pay_state;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getPay_time() {
        return pay_time;
    }

    public void setPay_time(Date pay_time) {
        this.pay_time = pay_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Date getComplete_time() {
        return complete_time;
    }

    public void setComplete_time(Date complete_time) {
        this.complete_time = complete_time;
    }

    public Integer getUserDelete() {
        return userDelete;
    }

    public void setUserDelete(Integer userDelete) {
        this.userDelete = userDelete;
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "id='" + id + '\'' +
                ", user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", building='" + building + '\'' +
                ", receiving_address='" + receiving_address + '\'' +
                ", receiving_phone='" + receiving_phone + '\'' +
                ", total_amount=" + total_amount +
                ", pay_state=" + pay_state +
                ", state=" + state +
                ", userDelete=" + userDelete +
                ", create_time=" + create_time +
                ", pay_time=" + pay_time +
                ", update_time=" + update_time +
                ", complete_time=" + complete_time +
                '}';
    }
}
